package com.leesche.zcsp.node.web.service;

import com.leesche.zcsp.node.web.model.SysUserToken;
import com.leesche.zcsp.node.web.model.SysUserTokenCriteria;
import com.leesche.zcsp.node.web.service.impl.data.read.QuerySysUserTokenCondition;
import com.leesche.zcsp.node.web.service.impl.data.read.SysUserTokenDto;

import java.util.List;

/**
 * Created by dennies yang  on 2016-11-10.
 */
public interface SysUserTokenService extends BaseService<SysUserToken, SysUserTokenCriteria, SysUserTokenDto, QuerySysUserTokenCondition, Long> {

    /**
     * @param conditiono 查询条件
     * @return 用户令牌信息
     * @Title: findUserTokenByCondition
     * @Description: TODO(根据查询条件获取用户令牌信息)
     * @author Jerry Chan
     * @date 2016-11-14 05:37:50
     */
    public SysUserToken findUserTokenByCondition(QuerySysUserTokenCondition conditiono);

    /** 
     * @Title: findUserInfoDtoByCondition
     * @Description: TODO( 根据用户令牌获取用户信息 )
     * @author Jerry Chan
     * @date 2016/11/29 16:10
     * @return SysUserTokenDto 用户令牌对应的用户信息
     */
    SysUserTokenDto findUserInfoDtoByCondition(QuerySysUserTokenCondition conditiono);


    List< SysUserToken> findUserInfoListDtoByCondition(QuerySysUserTokenCondition condition);


}
